package cn.pku.sirx.snad.uias.dao;

import java.util.List;
import java.util.Map;

import cn.pku.sirx.snad.ad.dao.IDao;
import cn.pku.sirx.snad.uias.model.entity.School;

/**
 * @author WangXiao
 */
public interface ISchoolDao extends IDao<School> {

	static final Integer UNIVERSITY = 1;
	static final Integer HIGH_SCHOOL = 2;
	static final Integer MIDDLE_SCHOOL = 3;
	static final Integer PRIMARY_SCHOOL = 4;
	static final Integer UNKNOWN = Integer.MAX_VALUE;

	/**
	 * <school type, List<School>>
	 */
	Map<Integer, List<School>> getByUserId(String userId);

}
